package cn.b.sky.mes.em.service;

import java.util.List;

import cn.b.sky.mes.em.model.EquipmentScheduledTime;
import cn.b.sky.mes.em.model.condition.EquipmentScheduledTimeCondition;

/**
 * 
 * <strong>Title : EquipmentScheduledTimeService.java<br></strong>
 * <strong>Package : cn.b.sky.mes.em.service<br></strong>
 * <strong>Description : </strong>设备计划作业时长业务接口<br> 
 * <strong>Create on : 2015-11-18 下午03:00:09<br></strong>
 * <p>
 * @author zhaoxin01<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public interface EquipmentScheduledTimeService {
  /**
   * 
   * <strong>Title : selectEquipmentScheduledTimeByCondition<br></strong>
   * <strong>Description : </strong>分页查询作业时长<br> 
   * <strong>Create on : 2015-11-18 下午01:25:58<br></strong>
   * <p>
   * @param equipmentScheduledTimeCondition
   * @return
   * List<EquipmentScheduledTime>
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  List<EquipmentScheduledTime> selectEquipmentScheduledTimeByCondition(
      EquipmentScheduledTimeCondition equipmentScheduledTimeCondition);

  /**
   * 
   * <strong>Title : selectEquipmentScheduledTimeCount<br></strong>
   * <strong>Description : </strong>作业时长条数<br> 
   * <strong>Create on : 2015-11-18 下午01:26:49<br></strong>
   * <p>
   * @param equipmentScheduledTimeCondition
   * @return
   * int
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  int selectEquipmentScheduledTimeCount(EquipmentScheduledTimeCondition equipmentScheduledTimeCondition);

  /**
   * 
   * <strong>Title : selectEquipmentScheduledTimeById<br></strong>
   * <strong>Description : </strong>根据ID查询作业时长<br> 
   * <strong>Create on : 2015-11-18 下午01:29:06<br></strong>
   * <p>
   * @param id
   * @return
   * EquipmentScheduledTime
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  EquipmentScheduledTime selectEquipmentScheduledTimeById(long id);

  /**
   * 
   * <strong>Title : selectEquipmentScheduledTimeCountByDate<br></strong>
   * <strong>Description : </strong>查询特定设备在指定时间段内的计划条数<br> 
   * <strong>Create on : 2015-11-18 下午01:40:52<br></strong>
   * <p>
   * @param equipmentScheduledTime
   * @return
   * int
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  int selectEquipmentScheduledTimeCountByDate(EquipmentScheduledTime equipmentScheduledTime);

  /**
   * 
   * <strong>Title : insertEquipmentScheduledTime<br></strong>
   * <strong>Description : </strong>新增设备计划作业时长<br> 
   * <strong>Create on : 2015-11-18 下午01:41:42<br></strong>
   * <p>
   * @param equipmentScheduledTime
   * void
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  void insertEquipmentScheduledTime(EquipmentScheduledTime equipmentScheduledTime);

  /**
   * 
   * <strong>Title : updateEquipmentScheduledTime<br></strong>
   * <strong>Description : </strong>更新设备计划作业时长<br> 
   * <strong>Create on : 2015-11-18 下午01:42:46<br></strong>
   * <p>
   * @param equipmentScheduledTime
   * void
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  void updateEquipmentScheduledTime(EquipmentScheduledTime equipmentScheduledTime);

  /**
   * 
   * <strong>Title : deleteEquipmentScheduledTime<br></strong>
   * <strong>Description : </strong>删除设备计划作业时长<br> 
   * <strong>Create on : 2015-11-18 下午01:44:15<br></strong>
   * <p>
   * @param id
   * void
   * @throws 
   * @author zhaoxin01<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  void deleteEquipmentScheduledTime(long id);

}
